//
//  MineBusinessCardBaseCompanyModel.m
//  Btpin
//
//  Created by Vic on 2019/4/7.
//  Copyright © 2019 Vic. All rights reserved.
//

#import "MineBusinessCardBaseCompanyModel.h"

@implementation MineBusinessCardBaseCompanyModel

- (void)setValuesForKeysWithDictionary:(NSDictionary<NSString *,id> *)keyedValues {
    self.id = [UIToolsControl dataAnalysis:keyedValues[@"id"]];
    self.name = [UIToolsControl dataAnalysis:keyedValues[@"name"]];
    self.full_name = [UIToolsControl dataAnalysis:keyedValues[@"full_name"]];
    self.landline_tel = [UIToolsControl dataAnalysis:keyedValues[@"landline_tel"]];
    
    self.website = [UIToolsControl dataAnalysis:keyedValues[@"website"]];
    self.address = [UIToolsControl dataAnalysis:keyedValues[@"address"]];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

- (id)copyWithZone:(NSZone *)zone {
    MineBusinessCardBaseCompanyModel *model = [[[self class] allocWithZone:zone] init];
    model.id = self.id;
    model.name = self.name;
    model.full_name = self.full_name;
    model.landline_tel = self.landline_tel;
    model.website = self.website;
    model.address = self.address;
    
    return model;
}

@end
